<td>
<ul class="sf_admin_td_actions">
  <li><?php
  if ($sf_user->hasGroup('Administrator')) {
      echo link_to(image_tag('/sf/sf_admin/images/delete_icon.png', array('alt' => __('delete'), 'title' => __('delete'))), 'component/delete?id='.$component->getId(), array (

  'post' => true,
  'confirm' => __('WARNING: Are you sure you want to delete this component?'),
));
  }?></li>
</ul>
</td>
